<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <title>宿舍管理系统</title>
  <style>
    body, html {
      margin: 0;
      padding: 0;
      font-family: Arial, sans-serif;
    }
    .header {
      background-color: #007BFF;
      color: white;
      padding: 10px;
      text-align: center;
    }
    .sidebar {
      width: 200px;
      background-color: #f8f9fa;
      float: left;
      height: 100vh;
      padding-top: 20px;
    }
    .sidebar a {
      display: block;
      padding: 10px;
      text-decoration: none;
      color: black;
    }
    .sidebar a:hover {
      background-color: #ddd;
    }
    .content {
      margin-left: 210px;
      padding: 20px;
    }
  </style>
</head>
<body>
<div class="header">
  <h1>宿舍管理系统</h1>
  <div class="current-user">当前用户: <span style="color: white"><%=session.getAttribute("stucode")%></span></div>
</div>
<div class="sidebar">
  <a href="/JavaWebStudentManager/view/check">审核</a>
  <a href="/JavaWebStudentManager/view/room/manage/list">宿舍管理员管理</a>
  <a href="/JavaWebStudentManager/studentlist">学生管理</a>
  <a href="/JavaWebStudentManager/buildingList">宿舍楼管理</a>
  <a href="/JavaWebStudentManager/absence">缺勤记录</a>
  <a href="/JavaWebStudentManager/loginout">退出系统</a>
</div>
</body>
</html>
